home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / latex209 / contrib / cmcyralt / cmcyr.sty < prev    next >
Text File  |  1994-06-24  |  8KB  |  325 lines

  1. %%
  2. %%
  3. \def\fileversion{v1.0}
  4. \def\filedate{93/05/7}
  5.  
  6. \typeout{Style Option: `cmcyr'
  7.   \fileversion\space <\filedate> (A. Harin)}
  8. \@ifundefined{selectfont}
  9.      {\@latexerr{`cmcyr' style option could only be used
  10.                   with the new font selection scheme}\@eha
  11.       \endinput}{}
  12.  
  13. \new@fontshape{cmcyr}{m}{n}{%
  14.       <5>uczr5%
  15.       <6>uczr6%
  16.       <7>uczr7%
  17.       <8>uczr8%
  18.       <9>uczr9%
  19.       <10>uczr10%
  20.       <11>uczr10 at10.95pt%
  21.       <12>uczr12%
  22.       <14>uczr12 at14.4pt%
  23.       <17>uczr17%
  24.       <20>uczr17 at20.736pt%
  25.       <25>uczr17 at24.8832pt}{}
  26. \extra@def{cmcyr}{}{}
  27. \new@fontshape{cmcyr}{m}{sl}{%
  28.       <5>uczro8 at5pt%
  29.       <6>uczro8 at6pt%
  30.       <7>uczro8 at7pt%
  31.       <8>uczro8%
  32.       <9>uczro9%
  33.       <10>uczro10%
  34.       <11>uczro10 at10.95pt%
  35.       <12>uczro12%
  36.       <14>uczro12 at14.4pt%
  37.       <17>uczro12 at17.28pt%
  38.       <20>uczro12 at20.74pt%
  39.       <25>uczro12 at24.88pt%
  40.       }{}
  41.  
  42. \new@fontshape{cmcyr}{m}{it}{%
  43.       <5>uczri7 at5pt%
  44.       <6>uczri7 at6pt%
  45.       <7>uczri7%
  46.       <8>uczri8%
  47.       <9>uczri9%
  48.       <10>uczri10%
  49.       <11>uczri10 at10.95pt%
  50.       <12>uczri12%
  51.       <14>uczri12 at14.4pt%
  52.       <17>uczri12 at17.28pt%
  53.       <20>uczri12 at20.74pt%
  54.       <25>uczri12 at24.88pt%
  55.       }{}
  56.  
  57. \new@fontshape{cmcyr}{m}{sc}{%
  58.       <5>uczrc8 at5pt%
  59.       <6>uczrc8 at6pt%
  60.       <7>uczrc8 at7pt%
  61.       <8>uczrc8%
  62.       <9>uczrc9%
  63.       <10>uczrc10%
  64.       <11>uczrc10 at10.95pt%
  65.       <12>uczrc10 at12pt%
  66.       <14>uczrc10 at14.4pt%
  67.       <17>uczrc10 at17.28pt%
  68.       <20>uczrc10 at20.74pt%
  69.       <25>uczrc10 at24.88pt%
  70.       }{}
  71. %%
  72. %% Warning: please note that the upright shape below is used
  73. %%          for the \pounds symbol of LaTeX. So this font
  74. %%          definition shouldn't be removed.
  75. %%
  76. %          If cmu below 10pt is not available we substitute
  77. %          cmti as far as possible (sizes 7, 8, 9). This is
  78. %          done because cmu is used mainly for producing the
  79. %          the \pound symbol and it is better to get a slanted
  80. %          (or bigger) pound then to get a $ sign in such situations.
  81. %%
  82. \new@fontshape{cmcyr}{m}{u}{%
  83.       <5>uczru10 at5pt%
  84.       <6>uczru10 at6pt%
  85.       <7>uczru10 at7pt%
  86.       <8>uczru10 at8pt%
  87.       <9>uczru10 at9pt%
  88.       <10>uczru10%
  89.       <11>uczru10 at10.95pt%
  90.       <12>uczru10 at12pt%
  91.       <14>uczru10 at14.4pt%
  92.       <17>uczru10 at17.28pt%
  93.       <20>uczru10 at20.74pt%
  94.       <25>uczru10 at24.88pt%
  95.       }{}
  96.  
  97. %%%%%%%% bold series
  98.  
  99. \new@fontshape{cmcyr}{b}{n}{%
  100.       <5>uczb10 at5pt%
  101.       <6>uczb10 at6pt%
  102.       <7>uczb10 at7pt%
  103.       <8>uczb10 at8pt%
  104.       <9>uczb10 at9pt%
  105.       <10>uczb10%
  106.       <11>uczb10 at10.95pt%
  107.       <12>uczb10 at12pt%
  108.       <14>uczb10 at14.4pt%
  109.       <17>uczb10 at17.28pt%
  110.       <20>uczb10 at20.736pt%
  111.       <25>uczb10 at24.8832pt%
  112.       }{}
  113.  
  114. %%%%%%%%% bold extended series
  115.  
  116. \new@fontshape{cmcyr}{bx}{n}{%
  117.       <5>uczbx5%
  118.       <6>uczbx6%
  119.       <7>uczbx7%
  120.       <8>uczbx8%
  121.       <9>uczbx9%
  122.       <10>uczbx10%
  123.       <11>uczbx10 at10.95pt%
  124.       <12>uczbx12%
  125.       <14>uczbx12 at14.4pt%
  126.       <17>uczbx12 at17.28pt%
  127.       <20>uczbx12 at20.74pt%
  128.       <25>uczbx12 at24.88pt%
  129.       }{}
  130.  
  131. \new@fontshape{cmcyr}{bx}{sl}{%
  132.       <5>uczbox10 at5pt%
  133.       <6>uczbox10 at6pt%
  134.       <7>uczbox10 at7pt%
  135.       <8>uczbox10 at8pt%
  136.       <9>uczbox10 at9pt%
  137.       <10>uczbox10%
  138.       <11>uczbox10 at10.95pt%
  139.       <12>uczbox10 at12pt%
  140.       <14>uczbox10 at14.4pt%
  141.       <17>uczbox10 at17.28pt%
  142.       <20>uczbox10 at20.74pt%
  143.       <25>uczbox10 at24.88pt%
  144.       }{}
  145.  
  146. \new@fontshape{cmcyr}{bx}{it}{%
  147.       <5>uczbix10 at5pt%
  148.       <6>uczbix10 at6pt%
  149.       <7>uczbix10 at7pt%
  150.       <8>uczbix10 at8pt%
  151.       <9>uczbix10 at9pt%
  152.       <10>uczbix10%
  153.       <11>uczbix10 at10.95pt%
  154.       <12>uczbix10 at12pt%
  155.       <14>uczbix10 at14.4pt%
  156.       <17>uczbix10 at17.28pt%
  157.       <20>uczbix10 at20.74pt%
  158.       <25>uczbix10 at24.88pt%
  159.       }{}
  160.  
  161. %% Again this is necessary for a correct \pound symbol in the cmr fonts
  162. %% Hopefully the dc/ec font layout will take over soon.
  163. %%
  164.  
  165. \subst@fontshape{cmcyr}{bx}{u}{cmcyr}{m}{u}
  166.  
  167. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  168. %%
  169. %%  Sans serif font shapes
  170. %%
  171. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  172.  
  173. \new@fontshape{cmcss}{m}{n}{%
  174.       <5>uczrs8 at5pt%
  175.       <6>uczrs8 at6pt%
  176.       <7>uczrs8 at7pt%
  177.       <8>uczrs8%
  178.       <9>uczrs9%
  179.       <10>uczrs10%
  180.       <11>uczrs10 at10.95pt%
  181.       <12>uczrs12%
  182.       <14>uczrs12 at14.4pt%
  183.       <17>uczrs17%
  184.       <20>uczrs17 at20.74pt%
  185.       <25>uczrs17 at24.88pt%
  186.       }{}
  187.  
  188.  
  189. \subst@fontshape{cmcss}{m}{it}{cmcss}{m}{sl}
  190.  
  191. \new@fontshape{cmcss}{m}{sl}{%
  192.       <5>uczris8 at5pt%
  193.       <6>uczris8 at6pt%
  194.       <7>uczris8 at7pt%
  195.       <8>uczris8%
  196.       <9>uczris9%
  197.       <10>uczris10%
  198.       <11>uczris10 at10.95pt%
  199.       <12>uczris12%
  200.       <14>uczris12 at14.4pt%
  201.       <17>uczris17%
  202.       <20>uczris17 at20.74pt%
  203.       <25>uczris17 at24.88pt%
  204.       }{}
  205.  
  206. %%%%%%% Font/shape undefined, therefore substituted
  207.  
  208. \subst@fontshape{cmcss}{m}{sc}{cmcyr}{m}{sc}
  209.  
  210. %%%%%%%% semibold condensed series
  211.  
  212. \new@fontshape{cmcss}{sbc}{n}{%
  213.       <5>uczdsc10 at5pt%
  214.       <6>uczdsc10 at6pt%
  215.       <7>uczdsc10 at7pt%
  216.       <8>uczdsc10 at8pt%
  217.       <9>uczdsc10 at9pt%
  218.        <10>uczdsc10%
  219.        <11>uczdsc10 at10.95pt%
  220.        <12>uczdsc10 at12pt%
  221.        <14>uczdsc10 at14.4pt%
  222.        <17>uczdsc10 at17.28pt%
  223.        <20>uczdsc10 at20.74pt%
  224.        <25>uczdsc10 at24.88pt%
  225.        }{}
  226.  
  227. %%%%%%%%% bold extended series
  228.  
  229. \new@fontshape{cmcss}{bx}{n}{%
  230.       <5>uczbsx10 at5pt%
  231.       <6>uczbsx10 at6pt%
  232.       <7>uczbsx10 at7pt%
  233.       <8>uczbsx10 at8pt%
  234.       <9>uczbsx10 at9pt%
  235.       <10>uczbsx10%
  236.       <11>uczbsx10 at10.95pt%
  237.       <12>uczbsx10 at12pt%
  238.       <14>uczbsx10 at14.4pt%
  239.       <17>uczbsx10 at17.28pt%
  240.       <20>uczbsx10 at20.74pt%
  241.       <25>uczbsx10 at24.88pt%
  242.       }{}
  243.  
  244. \extra@def{cmcss}{}{}
  245.  
  246. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  247. %%
  248. %%  Typewriter font shapes
  249. %%
  250. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  251.  
  252. \new@fontshape{cmctt}{m}{n}{%
  253.       <5>uczrt8 at5pt%
  254.       <6>uczrt8 at6pt%
  255.       <7>uczrt8 at7pt%
  256.       <8>uczrt8%
  257.       <9>uczrt9%
  258.       <10>uczrt10%
  259.       <11>uczrt10 at10.95pt%
  260.       <12>uczrt12%
  261.       <14>uczrt12 at14.4pt%
  262.       <17>uczrt12 at17.28pt%
  263.       <20>uczrt12 at20.74pt%
  264.       <25>uczrt12 at24.88pt%
  265.       }{}
  266.  
  267. \new@fontshape{cmctt}{m}{it}{%
  268.       <5>uczrit10 at5pt%
  269.       <6>uczrit10 at6pt%
  270.       <7>uczrit10 at7pt%
  271.       <8>uczrit10 at8pt%
  272.       <9>uczrit10 at9pt%
  273.       <10>uczrit10%
  274.       <11>uczrit10 at10.95pt%
  275.       <12>uczrit10 at12pt%
  276.       <14>uczrit10 at14.4pt%
  277.       <17>uczrit10 at17.28pt%
  278.       <20>uczrit10 at20.74pt%
  279.       <25>uczrit10 at24.88pt%
  280.       }{}
  281.  
  282. \new@fontshape{cmctt}{m}{sl}{%
  283.       <5>uczrot10 at5pt%
  284.       <6>uczrot10 at6pt%
  285.       <7>uczrot10 at7pt%
  286.       <8>uczrot10 at8pt%
  287.       <9>uczrot10 at9pt%
  288.       <10>uczrot10%
  289.       <11>uczrot10 at10.95pt%
  290.       <12>uczrot10 at12pt%
  291.       <14>uczrot10 at14.4pt%
  292.       <17>uczrot10 at17.28pt%
  293.       <20>uczrot10 at20.74pt%
  294.       <25>uczrot10 at24.88pt%
  295.       }{}
  296.  
  297. \new@fontshape{cmctt}{m}{sc}{%
  298.       <5>uczrct10 at5pt%
  299.       <6>uczrct10 at6pt%
  300.       <7>uczrct10 at7pt%
  301.       <8>uczrct10 at8pt%
  302.       <9>uczrct10 at9pt%
  303.       <10>uczrct10%
  304.       <11>uczrct10 at10.95pt%
  305.       <12>uczrct10 at12pt%
  306.       <14>uczrct10 at14.4pt%
  307.       <17>uczrct10 at17.28pt%
  308.       <20>uczrct10 at20.74pt%
  309.       <25>uczrct10 at24.88pt%
  310.       }{}
  311.  
  312. \extra@def{cmctt}{\hyphenchar #1\m@ne}{}
  313.  
  314. \renewcommand{\rmdefault}{cmcyr}
  315. \renewcommand{\sfdefault}{cmcss}
  316. \renewcommand{\ttdefault}{cmctt}
  317. \let\@dqtmp\"
  318. \def\"#1{{\def\@tmpzzz{#1}\def\@tmpye{Ñ}\def\@tmplt{<}\def\@tmpgt{>}%
  319.         \if\@tmpzzz\@tmpye\char'361%
  320.     \else\if\@tmpzzz\@tmplt\char'372%
  321.     \else\if\@tmpzzz\@tmpgt\char'373%
  322.     \else\@dqtmp#1\fi\fi\fi%
  323.         \let\@tmpzzz\relax\let\@tmpye\relax\let\@tmplt\relax\let\@tmpgt\relax}}
  324. \def\No{{\char'374}}
  325.